package com.jy.wms.pojo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import com.jy.wms.common.base.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.Max;
import java.io.Serializable;

/**
 * WmsOwnerOrdertype 实体类 货主订单类型表
 * Tue Aug 29 15:42:49 CST 2017 Jane
 */

@SuppressWarnings("serial")
@TableName("wms_owner_ordertype")
public class WmsOwnerOrdertype extends BaseModel implements Serializable {

 private String id; 	//ID
 private String sshzid; 	//所属货主ID
    @NotEmpty(message = "订单类型不能为空")
    @ApiModelProperty(value = "订单类型$$$true$true$false$$2$vNull")
 private String ddlx; 	//订单类型
 private String zdsh; 	//是否自动审核 0不自动 1自动
    @ApiModelProperty(value = "订单分类$0$0入库单 1出库单$true$true$true$wms_owner_ordertype_fl$3$vNull")
    @Max(value=2,message="订单分类选择不正确")
 private String fl; 	//订单分类 0入库单 1出库单
    @ApiModelProperty(value = "是否采集SN码$0$0不采集 1采集$true$false$true$wms_owner_ordertype_cjsn$4$vNull")
 private String cjsn; 	//是否采集SN码 0不采集 1采集
    @ApiModelProperty(value = "是否质检$0$$false$false$true$wms_owner_ordertype_sfzj$4$vNull")
    private String sfzj;//是否质检 0否 1是
    private String ckid;//仓库Id
    //添加参数  查询货主名称
    @TableField(exist=false)
    @ApiModelProperty(value = "货主名称$0$$true$false$false$$1$vNull")
    private String mc;
    @TableField(exist=false)
    private String show_fl;
    @TableField(exist=false)
    private String show_cjsn;
    @TableField(exist=false)
    private String show_zdsh;
    @TableField(exist=false)
    private String show_sfzj;//是否质检

    public String getShow_sfzj() {
        return show_sfzj;
    }

    public void setShow_sfzj(String show_sfzj) {
        this.show_sfzj = show_sfzj;
    }

    public String getSfzj() {
        return sfzj;
    }

    public void setSfzj(String sfzj) {
        this.sfzj = sfzj;
    }

    public String getCkid() {
        return ckid;
    }

    public void setCkid(String ckid) {
        this.ckid = ckid;
    }

    public String getShow_zdsh() {
        return show_zdsh;
    }

    public void setShow_zdsh(String show_zdsh) {
        this.show_zdsh = show_zdsh;
    }

    public void setId(String id){
     this.id=id;
 }
 public String getId(){
     return id;
 }
 public void setSshzid(String sshzid){
     this.sshzid=sshzid;
 }
 public String getSshzid(){
     return sshzid;
 }
 public void setDdlx(String ddlx){
     this.ddlx=ddlx;
 }
 public String getDdlx(){
     return ddlx;
 }
 public void setZdsh(String zdsh){
     this.zdsh=zdsh;
 }
 public String getZdsh(){
     return zdsh;
 }
 public void setFl(String fl){
     this.fl=fl;
 }
 public String getFl(){
     return fl;
 }
 public void setCjsn(String cjsn){
     this.cjsn=cjsn;
 }
 public String getCjsn(){
     return cjsn;
 }

    public String getShow_fl() {
        return show_fl;
    }

    public void setShow_fl(String show_fl) {
        this.show_fl = show_fl;
    }

    public String getShow_cjsn() {
        return show_cjsn;
    }

    public void setShow_cjsn(String show_cjsn) {
        this.show_cjsn = show_cjsn;
    }

    public String getMc() {
        return mc;
    }

    public void setMc(String mc) {
        this.mc = mc;
    }
}

